import { $get } from '@js/request'

export interface OptionSchema { employeeid: string, employee: string}

export async function getOptionsRequest (type: string, onjob?: number): Promise<OptionSchema[]> {
  const res = await $get('/api/commission/case/caseprocesser', {
    type,
    onjob
  })
  return res.data
}
